UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The /etc/nsswitch.conf file must be group-owned by root, bin, sys, or system.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22328 GEN001372 SV-26418r1_rule ECLP-1 Medium
Description
The nsswitch.conf file (or equivalent) configures the source of a variety of system security information including account, group, and host lookups. Malicious changes could prevent the system from functioning or compromise system security.
STIG Date
UNIX SRG 2013-03-26

Details

Check Text ( C-27497r1_chk )
Check the group ownership of the nsswitch.conf file.

Procedure:
# ls -lL /etc/nsswitch.conf

If the file is not group-owned by root, bin, sys, or system, this is a finding.
Fix Text (F-23605r1_fix)
Change the group owner of the /etc/nsswitch.conf file to root, bin, sys, or system.

Procedure:
# chgrp root /etc/nsswitch.conf